package com.tl.mqtt.model;

import java.io.Serializable;

/**
 * @author GM
 * @version 1.0
 * @date 2021/10/19
 */
public class Services implements Serializable {
    private static final long serialVersionUID = -4669425630016950080L;
    /**
     *服务 ID
     */
    private String serviceId;
    /**
     * 服务数据
     */
    private Object data;
    /**
     *时间格式：yyyyMMdd’T’ HHmmss’Z’ 如 ： 20151212T121212Z
     */
    private String eventTime;

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getEventTime() {
        return eventTime;
    }

    public void setEventTime(String eventTime) {
        this.eventTime = eventTime;
    }

    @Override
    public String toString() {
        return "Services{" +
                "serviceId='" + serviceId + '\'' +
                ", data=" + data +
                ", eventTime='" + eventTime + '\'' +
                '}';
    }
}
